WPDiscourse\DiscourseComment\DiscourseComment A

Total Complexity 55
Dependencies 2
Dependents 2
Total lines 362
Lines of code 207
Logical lines of code 136
Comment lines 91
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
sync_comments()
B
35 19 74
comments_template()
A
48 9 33
get_comment_type_for_post()
A
52 9 24
get_comments_number()
S
51 7 25
get_discourse_comments()
S
60 5 12
discourse_comments_js()
S
61 3 12
initialize_comment_route()
S
58 2 17
__construct()
S
62 1 10